layui.use(['layer','util'],function (){
    let layer = layui.layer,util = layui.util;
})

/**
* @author: ChengJW
* @params:
* @return:
* @date: 2021/12/21
* @description: 初始化卡片信息
*/
$(function () {
    queryOverDateOfBrowInfo();
    queryOverDateOfMoveInfo();
})

/**
* @author: ChengJW
* @params:
* @return:
* @date: 2021/12/21
* @description: 待归还档案提醒
*/
function queryOverDateOfBrowInfo() {
    sendAjax("/home/queryOverDateOfBrowInfo",null,function (res) {
        if (valueIsEqual(res.code,'00')){
            $("#noticeNum1").html(res.data.noticeNum1);
            $("#noticeNum2").html(res.data.noticeNum2);
        }
    })
}

/**
 * @author: ChengJW
 * @params:
 * @return:
 * @date: 2021/12/21
 * @description: 待归还档案提醒
 */
function queryOverDateOfMoveInfo() {
    sendAjax("/home/queryOverDateOfMoveInfo",null,function (res) {
        if (valueIsEqual(res.code,'00')){
            $("#noticeNum3").html(res.data.noticeNum1);
            $("#noticeNum4").html(res.data.noticeNum2);
        }
    })
}